/* 在 UserPage.css 中添加以下样式 */

/* 数据点数量显示 */
.data-points {
    font-size: 0.9em;
    color: #999 !important;
    font-weight: normal;
}

/* IP地址列表样式 */
.ip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.ip-item {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(24, 144, 255, 0.1);
    color: #1890ff;
    border-radius: 4px;
    font-size: 0.85em;
    font-family: 'Courier New', monospace;
    border: 1px solid rgba(24, 144, 255, 0.2);
}

/* 风险时序图容器高度调整 */
.analytics-card.risk-timeline {
    grid-column: 1 / -1;
    min-height: 450px; /* 增加高度以容纳更多内容 */
}

.analytics-card.risk-timeline canvas {
    max-height: 350px !important; /* 确保图表有足够高度 */
    height: 350px !important;
}

/* 风险摘要区域优化 */
.risk-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #ff4757;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .risk-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .data-points {
        margin-left: 0 !important;
    }

    .ip-list {
        gap: 6px;
    }

    .ip-item {
        font-size: 0.8em;
        padding: 3px 6px;
    }
}